package com.qlshouyu.gateway.client.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Service {
    /**
     * id
     */
    private String id;
    /**
     * 服务名称
     */
    private String name;

    /**
     * 服务编码,作为eureka服务发现名称[例如：bootgateway]
     */
    private String code;

    /**
     * 服务器地址
     */
    private String host;

    /**
     * 0启用，1禁用
     */
    private Short status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }
}
